<?php

namespace App\Observers;

use App\Models\Issue;

class IssueObserver
{
    public function creating(Issue $issue)
    {
        $issue->user_id = auth()->id();
    }
}
